package org.icress.fusion.moc


class Td {//异常工时对照表
	
	String td001//代号
	BigDecimal td002//K值
	String td003//责任单位
	Date dateCreated//创建日期
	Date lastUpdated//最后修改日期

    static constraints = {
		td001(unique : true, nullable:false, blank:false, maxSize:50)
		td002(scale : 4, nullable:false)
		td003(maxSize : 10, nullable:false)
    }
	
	static mapping = {
		table 'MOC$TD'
        autoTimestamp true
	}
}
